package org.lanqiao.util;

import java.time.LocalDate;
import java.time.format.DateTimeFormatter;

public class DataNow {
    public static String getData(){
        LocalDate today = LocalDate.now();
        DateTimeFormatter formatters = DateTimeFormatter.ofPattern("yyyy-MM-dd");
        String text = today.format(formatters);
        return text;
    }
}
